home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
sys
/
Replace_37_2.readme
< prev
next >
Wrap
Text File
|
1995-07-02
|
3KB
|
72 lines
Short: Simple search/replace thing. With source.
Author: kas@mink.ping.dk (Klaus Alexander Seistrup)
Uploader: kas@mink.ping.dk (Klaus Alexander Seistrup)
Type: util/cli
SYNOPSIS
[-iinFile] [-ooutFile] <-ssearchStr> <-rreplaceStr> [-c] [-v]
DESCRIPTION
Very simple search/replace program. Replaces searchStr with replaceStr
in inFile.
OPTIONS
-i Optional input file (default: stdin)
-o Optional output file (default: stdout)
-s Mandatory search string
-r Mandatory replace string
-c Use case-sensitive search routine (default: case-insensitive)
-v Verbose (report number of successful search/replace)
If the name of the input and the output files is the same, or if the
name of the output file is "-", then inFile will be renamed as inFile~
before conversion (note: any existing inFile~ will be deleted!) to
inFile.
Both searchStr and replaceStr can be given as strings or ASCII values.
ASCII values can be given as octal, decimal or hexadecimal, prepended
with a backslash. E.g., 'A':
(OCT) \0101
(DEC) \65
(HEX) \0x41
······: Klaus :·······································: kas@mink.ping.dk :······
··············: Magnetic Ink :··················································
····································: Soli Deo Gloria :·························
--
»Let us hear the conclusion of the whole matter: Fear God, and keep his
commandments, for this is the whole duty of man.«
(Ecclesiastes 12:13)
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
1173 334 71.5% 04-May-95 18:43:18 +Archive.contents
11668 7507 35.6% 04-May-95 18:08:20 +Replace
2160 1036 52.0% 04-May-95 18:31:28 +Replace.man
85 78 8.2% 04-May-95 18:36:16 +BufSiz.c
422 288 31.7% 04-May-95 18:36:58 +DMakeFile
552 339 38.5% 25-Jan-95 19:35:24 +DOSLib.a
38 38 0.0% 04-Dec-94 11:27:36 +MkProtos
6661 2301 65.4% 04-May-95 18:04:32 +Replace.c
989 394 60.1% 30-Apr-95 14:13:44 +Replace.h
557 228 59.0% 30-Apr-95 14:04:46 +Replace_protos.h
2 2 0.0% 04-May-95 18:08:20 +Replace_rev.beta
425 213 49.8% 04-May-95 18:08:20 +Replace_rev.h
1 1 0.0% 04-May-95 18:08:20 +Replace_rev.rev
405 212 47.6% 04-May-95 18:08:10 +Replace_ver.h
576 343 40.4% 18-Nov-94 01:26:56 +UtilityLib.a
-------- ------- ----- --------- --------
25714 13314 48.2% 07-May-95 15:43:18 15 files